projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd7b5f7
)
Actually fix the Pango build problem
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 21 Oct 2021 15:23:46 +0000
(17:23 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 21 Oct 2021 15:24:00 +0000
(17:24 +0200)
* src/gtkutil.c (xg_weight_to_symbol): Don't break the build on
older systems.
src/gtkutil.c
patch
|
blob
|
history
diff --git
a/src/gtkutil.c
b/src/gtkutil.c
index 873f7f2d683de526e3bc55b742d7f46c8f3dd61d..a9eabf47d8f44e95d77495eedbb3ffd69261d272 100644
(file)
--- a/
src/gtkutil.c
+++ b/
src/gtkutil.c
@@
-2244,7
+2244,7
@@
Lisp_Object xg_weight_to_symbol (PangoWeight w)
(w <= PANGO_WEIGHT_THIN ? Qthin /* 100 */
: w <= PANGO_WEIGHT_ULTRALIGHT ? Qultra_light /* 200 */
: w <= PANGO_WEIGHT_LIGHT ? Qlight /* 300 */
-#if
def PANGO_WEIGHT_SEMILIGHT /* New in 1.36.7 */
+#if
PANGO_VERSION_CHECK(1, 36, 7)
: w <= PANGO_WEIGHT_SEMILIGHT ? Qsemi_light /* 350 */
#endif
: w <= PANGO_WEIGHT_BOOK ? Qbook /* 380 */